package com.budwk.app.sqfw.vo;

import com.budwk.app.sqfw.models.Sqfw_datamange_person;
import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @program: dfxy-community
 * @description: 在线数据（后台管理系统）
 * @author: LJT
 * @create: 2024-01-24 08:51
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "数据管理（后台管理系统）")
@ApiModel(description = "数据管理（后台管理系统）")
public class SqfwDataMangePersonVO extends Sqfw_datamange_person implements Serializable {
    private static final long serialVersionUID = 4483300209926141018L;
    @ApiModelProperty(description = "起始页")
    private Integer pageNo = 1;
    @ApiModelProperty(description = "每页显示条数")
    private Integer pageSize = 10;
    @ApiModelProperty(description = "排序字段名称（如a4）")
    private String pageOrderName;
    @ApiModelProperty(description = "排序方式（升序：ascending  降序：descending）")
    private String pageOrderBy;
    @ApiModelProperty(description = "搜索全部")
    private String queryAll;
    @ApiModelProperty(description = "搜索全部")
    private String queryCondition;
    @ApiModelProperty(description = "提交开始时间")
    private LocalDateTime queryStartTime;
    @ApiModelProperty(description = "提交结束时间")
    private LocalDateTime queryEndTime;
    @ApiModelProperty(description = "场所类型")
    private String placeType;
    @ApiModelProperty(description = "用户名称")
    private String userName;
    @ApiModelProperty(description = "证件号")
    private String idNumber;
    @ApiModelProperty(description = "健康状况")
    private String healthStatus;
    @ApiModelProperty(description = "特殊人员类型")
    private String specialType;
    @ApiModelProperty(description = "时间")
    private List<String> time;
    private String queryContent;
    @ApiModelProperty(description = "ids")
    private List<String> ids;
    @ApiModelProperty(description = "场所名称")
    private String placeName;
    @ApiModelProperty(description = "社会信用代码")
    private String socialCreditCode;

    @ApiModelProperty(description = "单位id")
    private String unitId;


    @Column("province")
    @Comment("省份 (居住地)")
    @ApiModelProperty(description = "省份 (居住地)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String province;

    @Column("city")
    @Comment("市 (居住地)")
    @ApiModelProperty(description = "市 (居住地)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String city;

    @Column("district")
    @Comment("区 (居住地)")
    @ApiModelProperty(description = "区 (居住地)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String district;

    @Column("county")
    @Comment("街道 (居住地)")
    @ApiModelProperty(description = "街道 (居住地)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String county;

    @Column("community")
    @Comment("社区 (居住地)")
    @ApiModelProperty(description = "社区 (居住地)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String community;


    @Comment("户籍省份 (主管行政区划)")
    @ApiModelProperty(description = "户籍省份 (主管行政区划)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String regProvince;

    @Column("reg_city")
    @Comment("户籍市 (主管行政区划)")
    @ApiModelProperty(description = "户籍市 (主管行政区划)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String regCity;

    @Column("reg_district")
    @Comment("户籍区 (主管行政区划)户籍区 (主管行政区划)")
    @ApiModelProperty(description = "户籍区 (主管行政区划)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String regDistrict;

    @Column("reg_county")
    @Comment("户籍街道 (主管行政区划)")
    @ApiModelProperty(description = "户籍街道 (主管行政区划)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String regCounty;

    @Column("reg_community")
    @Comment("户籍社区 (主管行政区划)")
    @ApiModelProperty(description = "户籍社区 (主管行政区划)")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String regCommunity;
}
